package model;

import java.sql.Timestamp;

public class Bill {
	private String spbill_no;
	private String transaction_id;
	private int total_fee;
	private String pdesc;
	private String state;
	private int userId;
	private String split_no;
	private int buyer_id;
	private String backup_info;
	private String seller_name;
	private String buyer_name;
	private Timestamp start_time;
	public Bill(String spbill_no, String transaction_id, int total_fee,
			String pdesc, String state, int userId, String split_no, int buyer_id, String backup_info, Timestamp start_time) {
		super();
		this.spbill_no = spbill_no;
		this.transaction_id = transaction_id;
		this.total_fee = total_fee;
		this.pdesc = pdesc;
		this.state = state;
		this.userId = userId;
		this.split_no = split_no;
		this.buyer_id = buyer_id;
		this.backup_info = backup_info;
		this.start_time = start_time;
	}
	@Override
	public String toString() {
		return "Bill [spbill_no=" + spbill_no + ", transaction_id="
				+ transaction_id + ", total_fee=" + total_fee + ", pdesc="
				+ pdesc + ", state=" + state + ", userId=" + userId
				+ ", split_no=" + split_no + ", buyer_id=" + buyer_id
				+ ", backup_info=" + backup_info + ", seller_name="
				+ seller_name + ", buyer_name=" + buyer_name + ", start_time="
				+ start_time + "]";
	}
	public String getSpbill_no() {
		return spbill_no;
	}
	public void setSpbill_no(String spbill_no) {
		this.spbill_no = spbill_no;
	}
	public String getTransaction_id() {
		return transaction_id;
	}
	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}
	public int getTotal_fee() {
		return total_fee;
	}
	public void setTotal_fee(int total_fee) {
		this.total_fee = total_fee;
	}
	public String getPdesc() {
		return pdesc;
	}
	public void setPdesc(String pdesc) {
		this.pdesc = pdesc;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getSplit_no() {
		return split_no;
	}
	public void setSplit_no(String split_no) {
		this.split_no = split_no;
	}
	public int getBuyer_id() {
		return buyer_id;
	}
	public void setBuyer_id(int buyer_id) {
		this.buyer_id = buyer_id;
	}
	public String getBackup_info() {
		return backup_info;
	}
	public void setBackup_info(String backup_info) {
		this.backup_info = backup_info;
	}
	public String getSeller_name() {
		return seller_name;
	}
	public void setSeller_name(String seller_name) {
		this.seller_name = seller_name;
	}
	public String getBuyer_name() {
		return buyer_name;
	}
	public void setBuyer_name(String buyer_name) {
		this.buyer_name = buyer_name;
	}
	public Timestamp getStart_time() {
		return start_time;
	}
	public void setStart_time(Timestamp start_time) {
		this.start_time = start_time;
	}
	
}
